package org.waddy.framework.pub.dao;

import java.util.Date;

import org.waddy.framework.app.exception.AppException;
import org.waddy.framework.app.exception.SysException;
import org.waddy.framework.app.model.dao.IDAO;


public interface ISysDateDAO extends IDAO {
	
	/**
	 * 获取数据库时间 - oracle
	 * @return
	 * @throws SysException
	 * @throws AppException
	 */
	public Date getCurrentOracleSysDate() throws SysException, AppException;

	/**
	 * 获取数据库时间 - mysql
	 * @return
	 * @throws SysException
	 * @throws AppException
	 */
	public Date getCurrentMysqlSysDate() throws SysException, AppException;
	
}
